#ifndef __CODE3_DEBUG_H
#define __CODE3_DEBUG_H
													 							
#include "Code0_PARAMETER.h"
#include "Code1_MOTOR.h"	

typedef enum 
{										
	SCHEDULE_SWITCH				= 254,
	REMOTE_MOITON					= 252,
	REMOTE_HEAD_MODE			= 251,
	REMOTE_HEAD_POSITION	= 250,
	RETURN_MOTOR_READ			= 248,
	GET_DMA_FLAG					= 247,
	GET_MOTOR_DATA				= 246,
	GET_SCHEDULE_INDEX		= 245,
	GET_SCHEDULE_DATA			= 244,
	DEBUG_INST_BOUND			= 240
} DebugInstruction;
// The other instructions are defined for MotorSchedule in "Code1_MOTOR.h":
//		INSERT_DELAY_COUNT 	->	255
//		SET_STEP_TIME				->	253 
//		INSERT_DELAY_TIME		->	250
//		SET_POSITION				->	MOTOR_NUM
//		SET_TORQUE					->	MOTOR_NUM + TORQUE_BASE	 											

void ZigbeeRX_Init(void);
PacketStatus Zigbee_Access_RX(void);

#endif /* __CODE3_DEBUG_H */
